[INFO] cloning repository https://github.com/fenhl/flauschbot
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fenhl/flauschbot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffenhl%2Fflauschbot", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffenhl%2Fflauschbot'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 39d9b1a8191290403e15db57c65389cef0c9f664
[INFO] checking fenhl/flauschbot against try#72f88fc4e9458f89516a0b8b0868f3718aec5b47 for pr-74989
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffenhl%2Fflauschbot" "/workspace/builds/worker-5/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/fenhl/flauschbot on toolchain 72f88fc4e9458f89516a0b8b0868f3718aec5b47
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/fenhl/flauschbot
[INFO] finished tweaking git repo https://github.com/fenhl/flauschbot
[INFO] tweaked toml for git repo https://github.com/fenhl/flauschbot written to /workspace/builds/worker-5/source/Cargo.toml
[INFO] crate git repo https://github.com/fenhl/flauschbot already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr] error: the lock file /workspace/builds/worker-5/source/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag.
[INFO] the lockfile is outdated, regenerating it
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded curl v0.4.33
[INFO] [stderr]   Downloaded queryst v2.0.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] cd22b0e0ea48f6266be67be46509b89097dfe857b1d83eaaf89d5f0b891a927e
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "cd22b0e0ea48f6266be67be46509b89097dfe857b1d83eaaf89d5f0b891a927e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "cd22b0e0ea48f6266be67be46509b89097dfe857b1d83eaaf89d5f0b891a927e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cd22b0e0ea48f6266be67be46509b89097dfe857b1d83eaaf89d5f0b891a927e", kill_on_drop: false }`
[INFO] [stdout] cd22b0e0ea48f6266be67be46509b89097dfe857b1d83eaaf89d5f0b891a927e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] aac92ce279db4ee8b91bbb76d4df2ce07412f8e769d82b519eb2fdb6ba911b2e
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "aac92ce279db4ee8b91bbb76d4df2ce07412f8e769d82b519eb2fdb6ba911b2e", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.77
[INFO] [stderr]    Compiling version_check v0.1.5
[INFO] [stderr]    Compiling autocfg v0.1.7
[INFO] [stderr]    Compiling rand_core v0.4.2
[INFO] [stderr]    Compiling cc v1.0.59
[INFO] [stderr]    Compiling pkg-config v0.3.18
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]    Compiling siphasher v0.2.3
[INFO] [stderr]    Compiling log v0.4.11
[INFO] [stderr]     Checking tinyvec v0.3.4
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling memchr v2.3.3
[INFO] [stderr]     Checking matches v0.1.8
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]     Checking traitobject v0.1.0
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]     Checking percent-encoding v1.0.1
[INFO] [stderr]    Compiling httparse v1.3.4
[INFO] [stderr]    Compiling serde v1.0.116
[INFO] [stderr]    Compiling ryu v1.0.5
[INFO] [stderr]     Checking safemem v0.3.3
[INFO] [stderr]     Checking typeable v0.1.2
[INFO] [stderr]     Checking ucd-util v0.1.8
[INFO] [stderr]    Compiling serde_json v1.0.57
[INFO] [stderr]     Checking language-tags v0.2.2
[INFO] [stderr]    Compiling regex v0.2.11
[INFO] [stderr]    Compiling curl v0.4.33
[INFO] [stderr]     Checking modifier v0.1.0
[INFO] [stderr]     Checking itoa v0.4.6
[INFO] [stderr]     Checking utf8-ranges v1.0.4
[INFO] [stderr]     Checking openssl-probe v0.1.2
[INFO] [stderr]     Checking route-recognizer v0.1.13
[INFO] [stderr]     Checking regex-syntax v0.6.18
[INFO] [stderr]     Checking rustc-serialize v0.3.24
[INFO] [stderr]     Checking unicode-bidi v0.3.4
[INFO] [stderr]     Checking unsafe-any v0.4.2
[INFO] [stderr]     Checking thread_local v0.3.6
[INFO] [stderr]     Checking thread_local v1.0.1
[INFO] [stderr]    Compiling rand_core v0.3.1
[INFO] [stderr]    Compiling rand_jitter v0.1.4
[INFO] [stderr]     Checking unicode-normalization v0.1.13
[INFO] [stderr]     Checking regex-syntax v0.5.6
[INFO] [stderr]    Compiling unicase v1.4.2
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]     Checking typemap v0.3.3
[INFO] [stderr]    Compiling rand_hc v0.1.0
[INFO] [stderr]    Compiling rand_xorshift v0.1.1
[INFO] [stderr]    Compiling rand_isaac v0.1.1
[INFO] [stderr]     Checking plugin v0.2.6
[INFO] [stderr]     Checking log v0.3.9
[INFO] [stderr]     Checking aho-corasick v0.6.10
[INFO] [stderr]     Checking aho-corasick v0.7.13
[INFO] [stderr]     Checking base64 v0.9.3
[INFO] [stderr]    Compiling phf_shared v0.7.24
[INFO] [stderr]     Checking mime v0.2.6
[INFO] [stderr]    Compiling phf v0.7.24
[INFO] [stderr]     Checking idna v0.1.5
[INFO] [stderr]    Compiling rand_os v0.1.3
[INFO] [stderr]     Checking time v0.1.44
[INFO] [stderr]     Checking num_cpus v1.13.0
[INFO] [stderr]     Checking socket2 v0.3.15
[INFO] [stderr]    Compiling openssl-sys v0.9.58
[INFO] [stderr]    Compiling libz-sys v1.1.2
[INFO] [stderr]    Compiling curl-sys v0.4.36+curl-7.71.1
[INFO] [stderr]     Checking url v1.7.2
[INFO] [stderr]     Checking hyper v0.10.16
[INFO] [stderr]    Compiling phf_generator v0.7.24
[INFO] [stderr]    Compiling phf_codegen v0.7.24
[INFO] [stderr]     Checking regex v1.3.9
[INFO] [stderr]    Compiling mime_guess v1.8.8
[INFO] [stderr]     Checking iron v0.6.1
[INFO] [stderr]     Checking router v0.6.0
[INFO] [stderr]     Checking queryst v2.0.2
[INFO] [stderr]     Checking flauschbot v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: couldn't read src/../assets/config.json: No such file or directory (os error 2)
[INFO] [stdout]   --> src/main.rs:33:46
[INFO] [stdout]    |
[INFO] [stdout] 33 |     static ref CONFIG: Config = json::decode(include_str!("../assets/config.json")).unwrap();
[INFO] [stdout]    |                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `curl::http`
[INFO] [stdout]   --> src/main.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use curl::http;
[INFO] [stdout]    |     ^^^^^^^^^^ no `http` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/cmd.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |         try!(req.body.read_to_string(&mut body_string));
[INFO] [stdout]    |         ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/cmd.rs:38:25
[INFO] [stdout]    |
[INFO] [stdout] 38 |         let body_json = try!(queryst::parse(&body_string));
[INFO] [stdout]    |                         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/cmd.rs:40:22
[INFO] [stdout]    |
[INFO] [stdout] 40 |         let result = try!(SlashCommand::decode(&mut decoder));
[INFO] [stdout]    |                      ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/error.rs:37:21
[INFO] [stdout]    |
[INFO] [stdout] 37 |                       try!(fmt::Display::fmt($msg, f));
[INFO] [stdout]    |                       ^^^
[INFO] [stdout] ...
[INFO] [stdout] 83 | / errors! {
[INFO] [stdout] 84 | |     AuthError("authentication error");
[INFO] [stdout] 85 | |     SlashCommandError("slash command error");
[INFO] [stdout] 86 | |     WebhookError("error while trying to call Slack incoming webhook");
[INFO] [stdout] 87 | | }
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/error.rs:39:25
[INFO] [stdout]    |
[INFO] [stdout] 39 |                           try!(fmt::Display::fmt(": ", f));
[INFO] [stdout]    |                           ^^^
[INFO] [stdout] ...
[INFO] [stdout] 83 | / errors! {
[INFO] [stdout] 84 | |     AuthError("authentication error");
[INFO] [stdout] 85 | |     SlashCommandError("slash command error");
[INFO] [stdout] 86 | |     WebhookError("error while trying to call Slack incoming webhook");
[INFO] [stdout] 87 | | }
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/error.rs:40:25
[INFO] [stdout]    |
[INFO] [stdout] 40 |                           try!(fmt::Display::fmt(msg, f));
[INFO] [stdout]    |                           ^^^
[INFO] [stdout] ...
[INFO] [stdout] 83 | / errors! {
[INFO] [stdout] 84 | |     AuthError("authentication error");
[INFO] [stdout] 85 | |     SlashCommandError("slash command error");
[INFO] [stdout] 86 | |     WebhookError("error while trying to call Slack incoming webhook");
[INFO] [stdout] 87 | | }
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/main.rs:37:15
[INFO] [stdout]    |
[INFO] [stdout] 37 |     let cmd = try!(req.get::<SlashCommand>());
[INFO] [stdout]    |               ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/main.rs:43:20
[INFO] [stdout]    |
[INFO] [stdout] 43 |     let response = try!(http::handle().post(&CONFIG.incoming_webhook[..], &request_body).exec().map_err(|e| IronError::new(error::Webhook...
[INFO] [stdout]    |                    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]  --> src/cmd.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::error::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied
[INFO] [stdout]   --> src/main.rs:66:12
[INFO] [stdout]    |
[INFO] [stdout] 66 |     router.post("/veto", veto);
[INFO] [stdout]    |            ^^^^ -------  ---- supplied 2 arguments
[INFO] [stdout]    |            |
[INFO] [stdout]    |            expected 3 arguments
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/cmd.rs:39:46
[INFO] [stdout]    |
[INFO] [stdout] 39 |         let mut decoder = json::Decoder::new(body_json);
[INFO] [stdout]    |                                              ^^^^^^^^^ expected enum `rustc_serialize::json::Json`, found enum `serde_json::value::Value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `iron::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/error.rs:70:57
[INFO] [stdout]    |
[INFO] [stdout] 70 |                 format!("{} ({})", stringify!($from), e.description()).into()
[INFO] [stdout]    |                                                         ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 90 | convert_error! { io::Error => SlashCommandError }
[INFO] [stdout]    | ------------------------------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `iron::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/error.rs:70:57
[INFO] [stdout]    |
[INFO] [stdout] 70 |                 format!("{} ({})", stringify!($from), e.description()).into()
[INFO] [stdout]    |                                                         ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 91 | convert_error! { json::DecoderError => SlashCommandError }
[INFO] [stdout]    | ---------------------------------------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]   --> src/main.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::error::Error;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors; 12 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0432.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `flauschbot`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "aac92ce279db4ee8b91bbb76d4df2ce07412f8e769d82b519eb2fdb6ba911b2e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "aac92ce279db4ee8b91bbb76d4df2ce07412f8e769d82b519eb2fdb6ba911b2e", kill_on_drop: false }`
[INFO] [stdout] aac92ce279db4ee8b91bbb76d4df2ce07412f8e769d82b519eb2fdb6ba911b2e
